//
//  CatogryGifteReusableView.m
//  project
//
//  Created by lanou on 15/10/31.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "CatogryGifteReusableView.h"

@implementation CatogryGifteReusableView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(10, 40, (kWidth - 160)/2-10, 0.5)];
        view.backgroundColor = [UIColor grayColor];
        [self addSubview:view];
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake((kWidth - 160)/2 +10, 30, 80, 20)];
        _titleLabel.font = [UIFont systemFontOfSize:12];
       // _titleLabel.backgroundColor = [UIColor redColor];
        [self addSubview:_titleLabel];
        
        UIView *view1 = [[UIView alloc]initWithFrame:CGRectMake((kWidth - 160)/2 + 70, 40, (kWidth - 120)/2-20, 0.5)];
        view1.backgroundColor = [UIColor grayColor];
        [self addSubview:view1];
    }
    return self;
    
}


@end
